package com.tanger.user;

import com.tanger.common.result.ActionResult;
import com.tanger.flowable.api.FlowAbleFactory;

import java.util.List;

/**
 * @Description TODO
 * @Author Hchenbin
 * @Date 2022/7/28 16:09
 * @Version 1.0
 */
public interface UserService extends FlowAbleFactory {

    List<User> findAll();
    User findUserByCreateDate(Long startTime, Long endTime);

    List<UserEntity> queryAll();

    ActionResult deleteByIds(List<Long> ids);

    ActionResult updateStatus(Long id, Integer status);

    ActionResult add(UserEntity user);

    UserEntity findOne(Long id);

    ActionResult update(UserEntity user);
}
